package com.cq.hd.member.api;

import com.cq.hd.common.pagination.Page;
import com.cq.hd.common.response.Result;
import com.cq.hd.member.api.dto.AdminMerchantAmtBillPageDto;
import com.cq.hd.member.api.dto.MerchantAmtBillDto;
import com.cq.hd.member.api.vo.AdminMerchantAmtBillPageVo;
import com.cq.hd.member.api.vo.MerchantAmtBillVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "hd-o2o-member-service", contextId = "merchant-amt-bill-api")
public interface TbMerchantAmtBillApi {

    // 商户资金流水
    @GetMapping("/member/merchantAmtBill/listMerchantAmtBill")
    Result<List<MerchantAmtBillVo>> listMerchantAmtBill(@SpringQueryMap MerchantAmtBillDto merchantAmtBillDto);

    // 分页条件商户资金流水
    @GetMapping("/member/merchantAmtBill/pageMerchantAmtBill")
    Result<Page<AdminMerchantAmtBillPageVo>> pageMerchantAmtBill(@SpringQueryMap AdminMerchantAmtBillPageDto adminMerchantAmtBillPageDto);
}
